package com.shuoyue.ffmpegvideocut.controller.oss;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Author yinqingqin
 * @Date 2021/12/29 10:57
 * @Email yin_qingqin@163.com
 */
public class Files {

    private Long id;

    //("文件真实名称")
    private String realName;

    //("文件名")
    private String fileName;

    //("文件后缀")
    private String suffix;

    //("请求路径")
    private String path;

    //("类型 1. 永久  2.临时（临时没有请求路径）")
    private String type;

    private Long isBig;

    //("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //("创建人")
    private String createBy;

    //("bucket 名称")
    private String bucket;

    //("大小")
    private String size;


    private Integer state;


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getIsBig() {
        return isBig;
    }

    public void setIsBig(Long isBig) {
        this.isBig = isBig;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
